export const normal_disable_options = [
  {
    label: '正常',
    value: '0',
    elTagType: 'primary'
  },
  {
    label: '停用',
    value: '1',
    elTagType: 'danger'
  }
]

export const sys_normal_disable = [
  {
    label: '正常',
    value: '0',
    elTagType: 'primary'
  },
  {
    label: '停用',
    value: '1',
    elTagType: 'danger'
  }
]

export const sys_common_status: DictDataOption[] = [
  {
    label: '成功',
    value: '0',
    elTagType: 'primary'
  },
  {
    label: '失败',
    value: '1',
    elTagType: 'danger'
  }
]

export const sys_user_sex = [
  {
    label: '男',
    value: '0'
  },
  {
    label: '女',
    value: '1'
  },
  {
    label: '未知',
    value: '2'
  }
]

export const sys_grant_type = [
  {
    label: '密码认证',
    value: 'password'
  },
  {
    label: '短信认证',
    value: 'sms'
  },
  {
    label: '邮件认证',
    value: 'email'
  },
  {
    label: '小程序认证',
    value: 'xcx'
  },

  {
    label: '三方登录认证',
    value: 'social'
  }
]

export const sys_device_type = [
  {
    label: 'PC',
    value: 'pc'
  },
  {
    label: '安卓',
    value: 'android'
  },
  {
    label: 'IOS',
    value: 'ios'
  },
  {
    label: '小程序',
    value: 'xcx'
  }
]

export const sys_oper_type: DictDataOption[] = [
  {
    label: '查询',
    value: '0'
  },
  {
    label: '新增',
    value: '1'
  },
  {
    label: '修改',
    value: '2'
  },
  {
    label: '删除',
    value: '3'
  },
  {
    label: '导入',
    value: '4'
  },
  {
    label: '导出',
    value: '5'
  }
]
//
// export const MenuType: DictDataOption[] = [
//   {
//     label: '目录',
//     value: 'M',
//     elTagType: 'primary'
//   },
//   {
//     label: '菜单',
//     value: 'C',
//     elTagType: 'success'
//   },
//   {
//     label: '按钮',
//     value: 'F',
//     elTagType: 'info'
//   }
// ]

export const MenuType: DictDataOption[] = [
  {
    label: '目录',
    value: '0',
    elTagType: 'success'
  },
  {
    label: '菜单',
    value: '1',
    elTagType: 'primary'
  },
  {
    label: '按钮',
    value: '2',
    elTagType: 'info'
  }
]
